package com.wechat.scheme.entity;


import com.wechat.scheme.entity.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "scheme_user")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Where(clause = "deleted = 0")
public class SchemeUser extends BaseEntity {

    private String username;
    private String password;
    private String solt;

    private String avatarUri;

}
